package com.suyafei.entity;

import org.springframework.stereotype.Component;

import java.util.HashSet;
import java.util.Set;

/**
 * @program: springboot-rabbitmq
 * @description
 * @author: luffy
 * @create: 2020-11-15 01:56
 */
@Component
public class Order {
    private Set orderIdSet = new HashSet();

    public Set getOrderIdSet() {
        return orderIdSet;
    }

    public void setOrderIdSet(Set orderId) {
        this.orderIdSet = orderId;
    }

    public void removeOrderId(String orderId) {
        orderIdSet.remove(orderId);
    }
}
